<%@ taglib prefix="s" uri="/struts-tags"%>
	
<s:actionerror />
<s:form action="index" method="post" namespace="/">
    <s:hidden name="login_attempt" value="%{'1'}" />
    <s:textfield name="username" label="%{getText('login.username')}" />
    <s:password name="password" label="%{getText('login.password')}" />
    <s:submit value="Login" align="center">
        <s:param name="colspan" value="%{2}" />
        <s:param name="align" value="%{'center'}" />
    </s:submit>
</s:form>

<ul>
	<li>
		<s:url id="url" value="/changeLocale.action">
			<s:param name="request_locale">en_EN</s:param>
		</s:url>		
		<s:a href="%{url}"><s:text name="language.en"/></s:a>
	</li>
	<li>
		<s:url id="url" value="/changeLocale.action">
			<s:param name="request_locale">es_ES</s:param>
		</s:url> 
		<s:a href="%{url}"><s:text name="language.es"/></s:a>
	</li>
</ul>
